package cn.xing.managementSystem.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author cuixing
 * @package cn.xing.managementSystem.domain
 * @class ImageStore
 * @email xing.cui@magicwindow.cn
 * @date 2018/4/22 下午11:48
 * @description
 */

@Data
@Table(name="image_store")
@Entity
public class ImageStore extends BaseEntity {

    @JSONField(name = "original_name")
    @JsonProperty("original_name")
    @Column(name="original_name")
    private String originalName;

    @JSONField(name = "path")
    @JsonProperty("path")
    @Column(name="path")
    private String path;
}